@foreach(['success','waring','danger'] as $t)
    @if(session()->has($t))
    <div class="alert alert-{{$t}} alert-dismissible fade in" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span>
        </button>
        <strong>
            {{session()->get($t)}}
        </strong>
    </div>
    @endif
@endforeach
